package cn.homework.service;

import cn.homework.domain.Customers;

import java.util.List;
import java.util.Map;

/**
 * @author ACT
 */
public interface BackstageCustomerService {
    /**
     * 查询所有的用户
     * @return
     */
    List<Customers> customersShow();

    /**
     * 根据用户名查询用户信息
     * @param customerName
     * @return
     */
    Customers findCustomerByName(String customerName);

    /**
     * 根据用户名删除用户
     * @param customerName
     */
    void delCustomerByName(String customerName);

    /**
     * 根据条件查询用户
     * @param map
     * @return
     */
    List<Customers> queryCustomers(Map<String, String[]> map);
}
